package com.example.second.adapter.classes;

import android.util.Log;

/**
 * @ClassName: Machine$
 * @Description: java类作用描述
 * @Author: xinya
 * @CreateDate: 2020/12/21$ 14:43$
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
public class Machine {
    private static final String TAG = "Machine";
    public void power(My5vTarget target) {
        if (target.provide5V() == 5) {
            Log.d(TAG, "power: 电源匹配");
        } else {
            Log.e(TAG, "power: 电源不匹配");
        }
    }
}
